package com.ruoyi.waterManagement.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.waterManagement.domain.vo.WaterRegimeMonitoringVO;
import com.ruoyi.waterManagement.mapper.WaterRegimeMonitoringMapper;
import com.ruoyi.waterManagement.service.IWaterRegimeMonitoringService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;
import java.util.List;

/**
 * 水情在线监测站数据记录Service业务层处理
 *
 * @author hwd
 * @date 2023-02-16
 */
@Service
public class WaterRegimeMonitorServiceImpl extends ServiceImpl<WaterRegimeMonitoringMapper, WaterRegimeMonitoringVO> implements IWaterRegimeMonitoringService
{
    @Autowired
    private WaterRegimeMonitoringMapper waterRegimeMonitoringMapper;

    @Override
    public List<WaterRegimeMonitoringVO> selWaterRegimeMonitoringList(WaterRegimeMonitoringVO wt) {
        return waterRegimeMonitoringMapper.selWaterRegimeMonitoringList(wt);
    }

    @Override
    public String queryStatNm(String statCd) {
        return waterRegimeMonitoringMapper.queryStatNm(statCd);
    }

    @Override
    public List<WaterRegimeMonitoringVO> selWaterYieldRegimeMonitoringList(WaterRegimeMonitoringVO wt) {
        return waterRegimeMonitoringMapper.selWaterYieldRegimeMonitoringList(wt);
    }

    @Override
    public BigDecimal queryCurrentChannelWaterIntake(String chanCd) {
        return waterRegimeMonitoringMapper.queryCurrentChannelWaterIntake(chanCd);
    }

    @Override
    public List<WaterRegimeMonitoringVO> queryBelowChan(String likeChanCd, String chanCd) {
        return waterRegimeMonitoringMapper.queryBelowChan(likeChanCd,chanCd);
    }
}
